<template>
  <el-config-provider :size="store.size">
    <router-view></router-view>
  </el-config-provider>
</template>

<script setup lang="ts">
import { useAppStore } from './stores/app'
import { useGenerateTheme } from '@/hooks/useGenerateTheme'
const store = useAppStore()

// watch 主题
useGenerateTheme()
</script>
